const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      "/api": {
        target: "https://shqchapp.com/",
        changeOrigin: true,
      },
      ".php": {
        //本地服务器向target服务器请求数据
        target: "https://www.520mg.com/",
        changeOrigin: true,
      }
    }
  }
})
